PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFFreeTextAnnotation Class / setTextColor Method
A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the color used to display the annotation content.
In This Topic
    setTextColor Method
    In This Topic
    Sets the text color.
    The color must be Gray, RGB or CMYK.
    Syntax
    public void setTextColor( 
       PDFColor value
    )

    Parameters

    value
    A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the color used to display the annotation content.
    Exceptions
    ExceptionDescription
    When the property is set to a color other than Gray, RGB or CMYK.
    See Also